package com.rivulet.dawn.service.service.archive;

import com.rivulet.dawn.api.request.AllDeleteRequest;
import com.rivulet.dawn.api.request.archive.EventRecordQueryRequest;
import com.rivulet.dawn.api.request.archive.EventRecordSaveRequest;
import com.rivulet.dawn.api.request.archive.EventRecordUpdateRequest;
import com.rivulet.dawn.api.response.archive.EventRecordDetailResponse;
import com.rivulet.dawn.api.response.archive.EventRecordSearchResponse;
import com.rivulet.dawn.api.tools.Page;

/**
 * @author: 徐家橙
 * @date: 2022/8/16
 * @Desc: 事件档案管理
 **/
public interface EventRecordService {

    Integer create(EventRecordSaveRequest request);

    void delete(AllDeleteRequest request);

    Integer update(EventRecordUpdateRequest request);

    Page<EventRecordSearchResponse> search(EventRecordQueryRequest request);

    EventRecordDetailResponse detail(Long id);
}
